GLSurfaceViewMapRenderer

The GLSurfaceViewMapRenderer encapsulates the GL thread and GLSurfaceView specifics to render the map.

See also

Constructors

Link copied to clipboard
open fun GLSurfaceViewMapRenderer(context: Context, glSurfaceView: MapboxGLSurfaceView, localIdeographFontFamily: String)

Functions

Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onDrawFrame(gl: GL10)
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onSurfaceChanged(gl: GL10, width: Int, height: Int)
Link copied to clipboard
open fun onSurfaceCreated(gl: GL10, config: EGLConfig)
Link copied to clipboard
open fun queueEvent(runnable: Runnable)
May be called from any thread.
Link copied to clipboard
open fun requestRender()
May be called from any thread.
Link copied to clipboard
open fun setMaximumFps(maximumFps: Int)
The max frame rate at which this render is rendered, but it can't excess the ability of device hardware.